import Vue from 'vue'
import Router from 'vue-router'
import Index from './pages/index' //引入首页
import Login from './pages/login'
import Project from './pages/project'

//注册路由
Vue.use(Router)
export default new Router({
	routes:[
		{path: '/', component: Index},
		{path: '/login', component: Login},
		{path: '/project', component: Project},
	],
})